<template>
  <div>
    <el-divider content-position="left">导入的值是字典类型的需要确定字典是否存在和是否有效</el-divider>
    <table>
      <template v-for="item in info">
        <tr v-for="(v, k) in item">
          <td>
            <el-tag  effect="plain">错误描述：{{k}}</el-tag>
            <el-tag  effect="plain" type="info">错误值：{{v}}</el-tag>
          </td>
        </tr>
      </template>
    </table>
  </div>
</template>

<script>
export default {
  name: "dictionary",
  props: {
    info: {
      type: Array,
      default() {
        return []
      }
    }
  },
}
</script>

<style scoped>

</style>
